<template>
	<view>
		<uni-easyinput class="uni-mt-5" suffixIcon="search" v-model="devName" placeholder="请输入装备名称"
			@iconClick="iconClick"></uni-easyinput>
		<mk-goods-list :goods="goods" @clickItem="goodsItem"></mk-goods-list>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				goods: 
					[{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					},{
						img: "https://dss2.bdstatic.com/5bVYsj_p_tVS5dKfpU_Y_D3/res/r/image/2022-7-13/guihau.jpg",
						title: "防火靴子",
						littleTitle: "商品小标题",
						amount: "17.5",
						amountRemark: "大减价",
						label: "<span>dfdfd</span>",
						extra:"ssss"
					}]
				
			}
		},
		methods: {
			goodsItem(item, e) {
				console.log(item);
				console.log(e);
			}
		}
	}
</script>

<style>

</style>
